<?php

include_once("framework/Framework.php");
include_once("logic/controller/ActionMap.php");
include_once("logic/controller/Controller.php");

// check for needed PHP version
if (phpversion() < '5.1.0') 
{
    die("ERROR: Requiered version of PHP not found");
}

// set up timezone for php > 5.1.0
date_default_timezone_set('Europe/Budapest');

session_name("xblog");
session_start();

// language
#$lang = HttpRequest::getRequest("lang");
#I18n::setLang($lang);

$controller = new Controller($ActionMap);
$controller->process(HttpRequest::getRequest("op"));

?>
